//
//  SSegmentedView.h
//  EasyRetail
//
//  Created by Samuel on 6/12/15.
//
//

#import <UIKit/UIKit.h>
@protocol SSegmentedDelegate;
@interface SSegmentedView : UIView

- (void)SSegmentedViewDidSelectRowAtIndex:(NSInteger)index;

- (void)SSegmentedViewSwapSelectRowAtIndex:(NSInteger)index;

@property (nonatomic, strong)NSObject<SSegmentedDelegate> *delegate;

@end










@protocol SSegmentedDelegate <NSObject>

@required

- (NSArray*)SSegmentedView:(SSegmentedView *)sScrollView;


@optional
- (void)SSegmentedView:(SSegmentedView *)sSegmentedView didSelectRowAtIndex:(NSInteger)index;

@end